﻿<%@ Page Title="" Language="C#" MasterPageFile="~/global.Master" AutoEventWireup="true" CodeBehind="ManagerDrug.aspx.cs" Inherits="Hospital.ManagerDrug" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="center">
        <div id="title">Danh sách thuốc</div>
        <div>
            <asp:GridView ID="grvDrug" runat="server" AutoGenerateSelectButton="True" CellPadding="4" ForeColor="#333333" GridLines="None" OnSelectedIndexChanged="grvDrug_SelectedIndexChanged" Width="464px">
                <AlternatingRowStyle BackColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </asp:GridView>
        </div>
        <div>
            <table class="table">
                <tr>
                <td>Mã thuốc:</td>
                <td>
                    <asp:TextBox ID="txtId" runat="server" Enabled="False" Width="31px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Tên thuốc:</td>
                <td>
                    <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Mô tả:</td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                </td>
            </tr>
                <tr>
                <td>Số lượng:</td>
                <td>
                    <asp:TextBox ID="txtAmount" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Đơn vị mỗi ngày:</td>
                <td>
                    <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
                </td>
            </tr>
            </table>
        </div>
        <div id="function">
        <asp:Button ID="btnInsert" runat="server" Text="Thêm thuốc" OnClick="btnInsert_Click"></asp:Button>
        <asp:Button ID="btnDelete" runat="server" Text="Xóa" OnClick="btnDelete_Click"></asp:Button>
        <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" OnClick="btnUpdate_Click"></asp:Button>
        <asp:Button ID="txtReset" runat="server" Text="Làm mới" OnClick="txtReset_Click"></asp:Button>
    </div>
    </div>
</asp:Content>
